package com.higgins.eventtracking.client.projectmanagement;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@SuppressWarnings("serial")
public class HistoryItemDTO implements Serializable, Comparable<HistoryItemDTO> 	{
	private Date timestamp;
	private String description;
	public HistoryItemDTO()	{
	}
	public void setTimestamp(Date timestamp)	{
		this.timestamp = timestamp;
	}
	public Date getTimestamp()	{
		return timestamp;
	}
	public void setDescription(String description)	{
		this.description = description;
	}
	public String getDescription()	{
		return description;
	}
	@Override
	public int compareTo(HistoryItemDTO arg0) {
		return timestamp.compareTo(arg0.getTimestamp());
 	}
}
